/***
 *  
 * Basic stuff
 * 
 **/ 

@font-face {
    font-family: maiandra;
    src: url(MAIAN.TTF);
}

body{
	font-family: maiandra;
}

div.clear{
    clear: both !important;
}

div.container{
    margin-right: auto;
    margin-left: auto;
    width: 700px;
    background-color: white;
	border: solid;
	border-color: #3d0052;
	border-width: 1px;
}

/***
 *  
 * Header
 * 
 **/ 
 
div.header{
    min-height: 60px;
}

div.header div.headerText{
    background-color: #4c0066;
    color: white;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    font-family: maiandra;
    height: 100px;
    line-height: 60px;
}

div.headerFadeContainer div.headerFade{
    height: 20px;
}

div.headerFadeContainer div.headerFade1{
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(115, 0, 154) transparent;
    /* RGBa with 0.6 opacity */
    background: rgba(115, 0, 154, 0.6);
}
div.headerFadeContainer div.headerFade2{
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(118, 36, 181) transparent;
    /* RGBa with 0.6 opacity */
    background: rgba(118, 36, 181, 0.6);
}
div.headerFadeContainer div.headerFade3{
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(215, 143, 240) transparent;
    /* RGBa with 0.6 opacity */
    background: rgba(215, 143, 240, 0.6);
}



/***
http://stackoverflow.com/questions/806000/css-semi-transparent-background-but-not-text
http://stackoverflow.com/questions/8865458/how-to-align-text-vertical-center-in-div-with-css
http://stackoverflow.com/questions/17966307/resize-text-in-a-fixed-size-div-to-fit
http://www.thecssninja.com/css/custom-inputs-using-css
http://stackoverflow.com/questions/3772273/pure-css-checkbox-image-replacement
***/


/***
 *  
 * Footer
 * 
 
 **/ 
 
div.footer{
    text-align: center;
    border-top: solid;
    border-top-color: #3d0052;
    border-top-width: 5px;
}

div.homeFooter{
    text-align: center;
    border-top: solid;
    border-top-color: #3d0052;
    border-top-width: 5px;
}

div.homeFooter img{
    /**margin-left: 55px;**/
}
div.homeTextFooter{
    background-color: #B501F0;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    text-align: justify;
}

/***
 *  
 * Main body
 * 
 **/ 

div.mainBody{

}

div.mainBody{
    height: 729px;
    background-image:url('../images/main-form.png');
    background-repeat:no-repeat;
    z-index: -1;
}

div.mainBody div.headerFadeContainer {
    position: relative;
    top: -40px;
    z-index: 1;
}

/***
 *  
 * Main body form
 * 
 **/ 
 
div.mainBody div.form_container{
    position: relative;
    top: -100px;
}


div.mainBody div.lapiz_container {
    position: relative;
    left: 130px;
    top: -100px;
    z-index: 1;
    height: 112px;
    width: 81px;
}

div.mainBody div.form_container div.form_questions_container form.real_form{
    width: 408px !important;
    height: 553px !important;
    background-image:url('../images/bloc.png');
    background-repeat:no-repeat;
    margin-left: 40px;
    /** width: 358px; **/
}

/**
div.mainBody div.form_container div.form_questions_container div.input_label > input {
    border: medium none rgba(0, 0, 0, 0);
    height: 10px;
}
**/

div.mainBody div.form_container div.form_questions_container  label{
    font-weight: bold;
}


div.mainBody div.form_container div.form_questions_container form.real_form div.form_space_div{
    height: 83px;
}

div.mainBody div.form_container div.form_questions_container form.real_form div.input_label{
    position: relative;
    margin-left: 40px;
    width: 82%;
    height: 30px;
}

div.mainBody div.form_container div.form_questions_container form.real_form div.input_transportation{
    
}

div.mainBody div.form_container div.form_questions_container form.real_form div.input_transportation label{
    position: relative;
    top: 5px;
}

div.mainBody div.form_container div.form_questions_container form.real_form div.input_transportation input{
    position: relative;
    top: 10px;
}

div.mainBody div.form_container div.form_questions_container form.real_form a.link_enviar{
    float: right;
    margin-right: 50px;
    position: relative;
}

div.mainBody div.form_container div.form_questions_container form.real_form label.input_ci_aclaration{
    font-size: 14px;
    position: relative;
    margin-left: 40px;
    top: 10px;
}

/**
div.mainBody div.form_container div.form_questions_container div.input_name{
    left: 30px;
    position: relative;
    top: -43px;
}

div.mainBody div.form_container div.form_questions_container div.input_lastname{
    margin-top: 4px;
}

div.mainBody div.form_container div.form_questions_container div.input_ci{
    margin-top: 10px;
}

div.mainBody div.form_container div.form_questions_container div.input_age{
    left: 30px;
    position: relative;
    top: -31px;
}

div.mainBody div.form_container div.form_questions_container div.input_phone{
    left: 30px;
    position: relative;
    top: -27px;
}

div.mainBody div.form_container div.form_questions_container div.input_email{
    left: 30px;
    position: relative;
    top: -23px;
}

div.mainBody div.form_container div.form_questions_container div.input_state{
    left: 30px;
    position: relative;
    top: -19px;
}

div.mainBody div.form_container div.form_questions_container div.input_school{
    left: 30px;
    position: relative;
    top: -16px;
}

div.mainBody div.form_container div.form_questions_container div.input_grade{
    left: 30px;
    position: relative;
    top: -12px;
}

**/

/***

Questions

***/

div.logocorner img{
    /*
    width: 218px;
    height: 174px;
    background-image:url('../images/surco-logo-corner.png');
    background-repeat:no-repeat;
    z-index: 1;
    position: relative;
    */
    overflow:auto;
    float: right;
}

div.header div.headerQuestionText{
    background-color: #270034;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    text-align: center;
    text-transform: uppercase;
}

div.mainQuestionBody{
    height: 500px;
    background-image:url('../images/main-question.png');
    background-repeat:no-repeat;
    z-index: -1;
}

form.question_container div.question{
	background-color: #4c0066;
	color: #00fcff;
	font-size: 29px;
	text-align: justify;
    min-height: 60px;
}

form.question_container div.question label {
    display: inline-block;
}

form.question_container div.answer{
	text-align: center;
	color: white;
	/** height: 90px; **/
    height: 57px;
}

form.question_container div.answer div.answerNumber > img {
    margin-top: 3px;
}

form.question_container div.answer1{
	background-color: #a200d9;
}

form.question_container div.answer2{
	background-color: #bd24f0;
}
form.question_container div.answer3{
	background-color: #c937fa;
}
form.question_container div.answer4{
	background-color: #cf40ff;
}


form.question_container div.answerNumber{
	width: 50px;
	text-align: left;
	float: left;
	margin-left: 15px;
}

form.question_container div.answerText{
	width: 570px;
	text-align: left;
	float: left;
	margin-left: 10px;
	font-size: 22px;
	/**line-height: 50px; **/
	font-weight: bold;
}

form.question_container div.answerText label{ 
    display: inline-block;
}

form.question_container div.answerCheck{
	width: 50px;
	height: 50px;
	float: left;
    
}

form.question_container div.answerCheck div.insideAnswerCheck{
	margin: 15px 0 0;
    top: 25%;
}


div.mainQuestionBody div.corregirContainer{
	padding-left: 10px;
	float: left;
}
div.mainQuestionBody div.corregirContainer a.corregir-link  img{
	margin-top: 30px;
}

div.mainQuestionBody div.semaforoContainer{
	float: right;
}

div.mainQuestionBody div.semaforoContainer div.semaforoInnerContainer{
    margin-right: 11px;
    margin-top: 20px;
}

div.mainQuestionBody div.finalTextResult{
    font-size: 30px;
    padding-top: 120px;
    padding-left: 14%;
    display: none;
}

div.mainQuestionBody div.finalTextContainer{
    color: #0000ff;
    text-shadow: 3px 2px 1px #FFFFFF, -3px -2px 1px #FFFFFF;
    font-weight: bold;
    text-align: center;
}

div.mainQuestionBody div.finalTextErrorContainer{
    color: #0000ff;
    text-shadow: 1px 1px 1px #FFFFFF, -1px -1px 1px #FFFFFF;
    font-weight: bold;
    text-align: center;
}

div.mainQuestionBody div.finalOkTextContainer{
    margin-top: 85px;
    display: none;
}


div.mainQuestionBody div.finalOkTextContainer div.finalOkTextHeader{
    font-size: 44px;
}

div.mainQuestionBody div.finalOkTextContainer div.finalOkTextBody{
    font-size: 26px;
    margin-top: 10px;
}

div.mainQuestionBody div.finalErrorTextContainer{
    margin-top: 65px;
    display: none;
}

div.mainQuestionBody div.finalErrorTextContainer div.finalErrorTextHeader{
    font-size: 20px;
}

div.mainQuestionBody div.finalErrorTextContainer div.finalErrorTextBody{
    font-size: 16px;
    margin-top: 10px;
}

div.mainQuestionBody div.finalErrorTextContainer div.finalErrorTextBody a{
    text-decoration:none;
}

div.mainQuestionBody div.messageTextContainer{
    margin-top: 35px;
    text-align: center;
    display: none;
}

div.answerCheck input[type=checkbox] {
	display:none;
}
 
div.answerCheck input[type=checkbox] + label
{
	
	background-image:url('../images/box.png');
    background-repeat:no-repeat;
	height: 32px;
	width: 32px;
	display:inline-block;
	padding: 0 0 0 0px;
}
div.answerCheck input[type=checkbox]:checked + label
{
	background-image:url('../images/box-checked.png');
	background-repeat:no-repeat;
	height: 32px;
	width: 32px;
	display:inline-block;
	padding: 0 0 0 0px;
}

/**
 * 
 * Premios
 * 
 **/ 

div.container div.headerPremios div.headerPremiosText{
    background-color: #270034;
    color: white;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    height: 45px;
    line-height: 50px;
}

div.container div.headerPremios div.headerBodyPremiosText{
    background-color: #4c0066; 
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
}

div.container div.headerHome div.headerSpaceText{
    height: 20px;
    background-color: #4c0066;
}

div.container div.mainPremiosBody{
    background-color: #a39abf; 
}

div.container div.mainPremiosBody div.premiosRow{
    height: 210px;
    padding-top: 15px;
}

div.container div.mainPremiosBody div.premiosRowBottom{
    vertical-align: bottom;
    display: table-cell;
    height: 230px !important;
}

div.container div.mainPremiosBody div.premiosRow div{
    float: left;
    width: 33%;
    text-align: center;
}
div.container div.extraPremiosFooter{
    background-color: #b501f0;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
}



/**
div.container div.mainPremiosBody div.premiosRow div.leftPremioColumn{
    float: left;
    width: 33%;
    text-align: center;
    
}

div.container div.mainPremiosBody div.premiosRow div.centerPremioColumn{
    float: left;
    width: 33%;
    text-align: center;
}

div.container div.mainPremiosBody div.premiosRow div.rightPremioColumn{
    float: left;
    width: 33%;
    text-align: center;
}
**/

/***
 * 
 * Home
 * 
 ***/ 

div.container div.headerHome{
    background-color: #4c0066;
}

div.container div.headerHome div.headerHomeText{
    background-color: #270034;
    color: white;
    font-size: 36px;
    text-align: center;
}

div.container div.mainHomeBody{
    height: 716px;
    background-image:url('../images/home-back.png');
    background-repeat:no-repeat;
    z-index: -1;
}

div.container div.mainHomeBody div.giftContainer{
    float: right;
    margin-right: 10px;
    margin-top: 65px;
}

div.container div.mainHomeBody div.triviaTextContainer{
    float: left;
    margin-right: 10px;
    margin-top: 50px;
}
